package com.lizheng.yunservice.travel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lizheng.yunservice.travel.doamin.VtpCultural;
import com.lizheng.yunservice.travel.doamin.VtpCulturalCategory;
import com.lizheng.yunservice.travel.doamin.vo.VtpCulturalVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文创信息Mapper接口
 *
 * @author lizheng
 * @date 2024-12-19
 */
@Mapper
public interface VtpCulturalMapper extends BaseMapper<VtpCultural> {
    
//    /**
//     * 查询文创信息分页列表
//     */
//    Page<VtpCulturalVo> selectVoPage(@Param("page") Page<VtpCultural> build, @Param("bo") VtpCulturalBo bo);
    
    /**
     * 根据类别ID查询文创列表
     */
    List<VtpCultural> selectListByCategoryId(@Param("categoryId") Long categoryId);
    
    /**
     * 查询所有文创类别
     */
    List<VtpCulturalCategory> selectAllCategories();
} 